<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/7/4
 * Time: 16:27
 */

return [
    'id'=>'artclassmanage-form',
    'template'=>'form_default',
    'enableClientValidation'=>false,
    'enableAjaxValidation'=>false,
    'options'=>['class'=>'form-validate'],
    'models'=>[
        'artclassmanage'=>[
            'title'=>'开班',
            'th_with'=>80,
            'elements'=>[
                'status'=>[
                    'type'=>'radiolist',
                    'items'=>[
                        '1'=>'开班',
                        '0'=>'不开',
                    ]
                ],
                'start_time'=>[
                    'type'=>'dropdownlist',
                    'options'=>[
                        'prompt'=>'开班时间',
                        'encode'=>false,
                    ],
                    'items'=>[],
                ]
            ],
        ]
    ]
];